/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: XMQ
 * Date: 2022-06-05
 * Time: 15:55
 */
public class Test {

    public static void main(String[] args) {
        MyArrayList list = new MyArrayList();
        list.del();
        list.add(1);
        list.add(2);
        list.add(3);
        list.add(4);
        list.add(1,10);
        list.del();
        list.del(1);
        System.out.println(list.get(10));
        System.out.println(list.size());
        System.out.println(list.indexOf(2));
        list.set(1,20);
        list.display();
    }
}
